package com.atguigu.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@ConfigurationProperties(prefix = "robot")
public class RobotProp {
    private String name;
    private Integer age;
    private String email;
}
